<?php
/**
 * Created by PhpStorm.
 * User: linqiangy
 * Date: 2018/4/28
 * Time: 上午9:24
 */

namespace backend\modules\admin;

use yii\web\Response;

class Module extends \mdm\admin\Module
{
    public $controllerNamespace = 'mdm\admin\controllers';
    public function init()
    {
        \Yii::$app->response->off(Response::EVENT_BEFORE_SEND);
        $this->setViewPath('@vendor/mdmsoft/yii2-admin/views');

        return parent::init();
    }
}
